package org.flowable;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

public class SendRejectionMail implements JavaDelegate {

  @Override
  public void execute(DelegateExecution delegateExecution) {
    System.out.println("SendRejectionMail 回调 ：" + delegateExecution);

    String var = (String) delegateExecution.getVariable("input");
    var = var.toUpperCase();
    delegateExecution.setVariable("input", var);

  }


}
